<template>
  <div>
    <el-container>
      <!-- 左侧菜单栏 -->
      <el-aside width="200px">
        <v-side></v-side>
      </el-aside>
      <el-container>
        <el-header>
          <!-- 头部组件 -->
          <v-header></v-header>
        </el-header>
        <el-main>
          <!-- 主体内容 -->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style scoped>
.el-header {
  background-color: #d7d7d7;
  color: #333;
  padding: 0;
}

.el-aside {
  background-color: #262a32;
  height: 100vh;
  width: 100%;
}

.el-main {
  background-color: #f6f6f6;
  color: #333;
  /* text-align: center; */
  /* line-height: 160px; */
}

body > .el-container {
  margin-bottom: 40px;
}
</style>